package com.boboPlanet.user.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/2/22
 **/
@Data
public class ArticleMainVO {

    /**
     * 主键id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleId;

    /**
     * 用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 姓名
     */
    private String articleUser;

    private String articleTypeName;

    /**
     * 类型名称
     */
    private List<String> articleTypeNames;

    /**
     * 标题
     */
    private String articleTitle;

    /**
     * 是否匿名发布 0:真实名字  1:匿名
     */
    private Integer isAnonymous;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planetUpdateTime;


    private String avatarName;


}
